package com.hn658.user.common.expection;

import com.hn658.framework.shared.exception.BusinessException;

public class DepartmentException  extends BusinessException {
	
	private static final long serialVersionUID = 8116096093913146845L;


	public static final String EmptyWrong = "hn658.department.EmptyWrong";

	
	public static String EmptyParent = "hn658.department.EmptyParent";
	public static String IdEmptyWrong = "hn658.department.IdEmptyWrong";
	public static String CodeEmptyWrong = "hn658.department.CodeEmptyWrong";
	public static String NameEmptyWrong = "hn658.department.NameEmptyWrong";
	public static String OneMoreWrong = "hn658.department.OneMoreWrong";
	public static String NoOne = "hn658.department.NoOne";

	public DepartmentException(String errorCode, String... args) {
		super(errorCode, args);
	}
	
	public DepartmentException(String errorCode,Throwable t){
		super(errorCode,t);
		
	}

}
